/*
 * @Description:
 * @Author: Rfan
 * @Date: 2022-05-31 17:47:17
 * @LastEditTime: 2022-06-02 17:34:34
 */

import { Form, Input } from 'antd';

const ItemForm = () => {
  return (
    <>
      <Form.Item name="cno" label="分类号" extra="由字母和数字组成" rules={[{ required: true }]}>
        <Input allowClear />
      </Form.Item>
      <Form.Item
        name="cname"
        label="分类名称"
        extra="建议12个字汉字以内"
        rules={[{ required: true }]}
      >
        <Input allowClear />
      </Form.Item>
      <Form.Item name="cdescription" label="分类描述" extra="描述需归档在本分类的档案业务范围">
        <Input.TextArea placeholder="备注信息描述，最多可填写2000字" maxLength={2000} showCount />
      </Form.Item>
    </>
  );
};

export default ItemForm;
